package com.fanshuai.mybatis_plus.config;

import com.alibaba.druid.pool.DruidDataSourceStatLoggerImpl;
import com.alibaba.druid.support.logging.Log;
import com.alibaba.druid.support.logging.SLF4JImpl;

public class CustomStatLogger extends DruidDataSourceStatLoggerImpl {

    @Override
    public void setLogger(Log logger) {
        Log log = new SLF4JImpl("mysql");
        super.setLogger(log);
    }
}
